package com.bbs.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bbs.po.User;

public interface UserMapper {
  public int insertUser(User user);
  
  public User selectUser(@Param("username") String username,@Param("password") String password);

  public List<User> getAllUser();
  
  public int setGrade(User user);
  
  public List<User> search(@Param("username") String username);
  
  public int deleteUser(@Param("username") String username);

}
